Skip to content

Conversation

dranikpg
Copy link
Contributor

@dranikpg dranikpg commented Oct 3, 2025

This is how support for multiple datatypes will look like

@dranikpg dranikpg force-pushed the tiering-decoders branch 3 times, most recently from 64ac01b to 1905a87 Compare October 4, 2025 09:23
Signed-off-by: Vladislav Oleshko <[email protected]>
@dranikpg dranikpg marked this pull request as ready for review October 5, 2025 12:13
Comment on lines +22 to +23
// Poor man's type-erasure copy
virtual std::unique_ptr<Decoder> Clone() const = 0;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Either this, so the caller can pass a decoder by value, or the caller has to pass a function creating an encoder
  2. I don't want to use unique_ptrs later, I want to initialize in place with proper align to avoid allocations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant